import request from '@/utils/request'


//获取用户列表
export function getUserList(data) {
  return request({
    url: 'admin/cusHehuoren/list',
    method: 'get',
    params: data
  })
}

//编辑用户信息
export function editUser(data) {
  return request({
    url: 'admin/cusHehuoren/edit',
    method: 'get',
    params: data
  })
}

//新增用户信息
export function addUser(data) {
  return request({
    url: 'admin/cusHehuoren/add',
    method: 'get',
    params: data
  })
}

//删除用户信息
export function removeUser(data) {
  return request({
    url: 'admin/cusHehuoren/remove',
    method: 'get',
    params: data
  })
}


//获取交付中心列表
export function getcusJiaofuzhongxin(data) {
  return request({
    url: 'admin/cusJiaofuzhongxin/list',
    method: 'get',
    params: data
  })
}

//编辑交付中心信息
export function editcusJiaofuzhongxin(data) {
  return request({
    url: 'admin/cusJiaofuzhongxin/edit',
    method: 'get',
    params: data
  })
}

//新增交付中心信息
export function addcusJiaofuzhongxin(data) {
  return request({
    url: 'admin/cusJiaofuzhongxin/add',
    method: 'get',
    params: data
  })
}

//删除交付中心信息
export function removecusJiaofuzhongxin(data) {
  return request({
    url: 'admin/cusJiaofuzhongxin/remove',
    method: 'get',
    params: data
  })
}



//获取推广列表
export function cusTuiguangList(data) {
  return request({
    url: 'admin/cusTuiguang/list',
    method: 'get',
    params: data
  })
}
//编辑推广列表
export function cusTuiguangEdit(data) {
  return request({
    url: 'admin/cusTuiguang/edit',
    method: 'get',
    params: data
  })
}


//获取教师列表
export function ccusUserTeacherList(data) {
  return request({
    url: 'admin/cusUserTeacher/list',
    method: 'get',
    params: data
  })
}
//编辑教师列表
export function cusUserTeacherEdit(data) {
  return request({
    url: 'admin/cusUserTeacher/edit',
    method: 'get',
    params: data
  })
}
//删除教师信息
export function removecuscusUserTeacher(data) {
  return request({
    url: 'admin/cusUserTeacher/remove',
    method: 'get',
    params: data
  })
}


//获取学生列表
export function cusUserStudentList(data) {
  return request({
    url: 'admin/cusUserStudent/list',
    method: 'get',
    params: data
  })
}
//编辑学生列表
export function cusUserStudentEdit(data) {
  return request({
    url: 'admin/cusUserStudent/edit',
    method: 'get',
    params: data
  })
}
//删除学生信息
export function cusUserStudentTeacher(data) {
  return request({
    url: 'admin/cusUserStudent/remove',
    method: 'get',
    params: data
  })
}



//获取课程标签列表
export function courseTagList(data) {
  return request({
    url: 'admin/cusCourse/000-courseTagList',
    method: 'get',
    params: data
  })
}
//编辑课程列表
export function cusCourseEdit(data) {
  return request({
    url: 'admin/cusCourse/003-edit',
    method: 'get',
    params: data
  })
}
//删除课程信息
export function cusCourseTeacherRemove(data) {
  return request({
    url: 'admin/cusCourse/004-remove',
    method: 'get',
    params: data
  })
}
//新增课程信息
export function addcusCourse(data) {
  return request({
    url: 'admin/cusCourse/002-add',
    method: 'get',
    params: data
  })
}
//获取【课程】列表
export function cusCourseList(data) {
  return request({
    url: 'admin/cusCourse/001-list',
    method: 'get',
    params: data
  })
}


//上线课程
export function onLine(data) {
  return request({
    url: 'admin/cusCourse/005-onLine',
    method: 'get',
    params: data
  })
}
//下线课程
export function offLine(data) {
  return request({
    url: 'admin/cusCourse/006-offLine',
    method: 'get',
    params: data
  })
}